Skip to main content

GET Live Video Details

Overview


The table below provides key details about the GET method for receiving Live Video Details.

GET Live Video Details
MethodGET
URL or Endpoint/api/v1/projectId/live-videos/id
HeadersAuthorization
Parametersid, projectId
BodyNot Applicable

The description of the URL parameter is as follows:

projectId URL Parameter
URL Parameter NameId
MandatoryYes
Typestring
DescriptionUnique Id of the live video.
projectId URL Parameter
URL Parameter NameprojectId
MandatoryYes
Typestring
DescriptionUnique Id of the project.

Request body

The request does not contain the request body

Response

{
"success": true,
"errors": [
"string"
],
"messages": [
"string"
],
"result": {
"publicId": "string",
"id": "string",
"name": "string",
"title": "string",
"description": "string",
"thumbnail": "string",
"playbackUrl": "string",
"channelPublicId": "string",
"channelName": "string",
"channelTitle": "string",
"channelLogo": "string",
"type": "string",
"latencyType": "string",
"liveStatus": "string",
"canGoLive": true,
"isLiveStreaming": true,
"canStopAndCut": true,
"canStopWithoutSaving": true,
"dvrEnabled": true,
"rewindTypeId": 0,
"rewindDuration": 0,
"publishDate": "2024-11-13T12:26:12.349Z",
"publishEndDate": "2024-11-13T12:26:12.349Z",
"geoBlockingRuleId": 0,
"author": "string",
"activeChannelId": "string",
"tags": [
"string"
],
"hasGeoRestriction": true,
"geoRestrictionLink": "string"
},
"resultInfo": "string",
"statusCode": 0
}

Information about the fields that appear when you receive the response are displayed in the table below.

Field NameTypeDescription
successboolIf the response is successful, it will return true. Otherwise, it will return false.
errorsarray[]Indicates if there was an error.
messagesarray[]Returns the response message from the back-end.
resultarray[Object]Returns the response object.
publicIdstringReturns the public identifier of the live video.
idstringReturns the unique identifier of the live video.
namestringReturns a guid that is randomly generated.
titlestringReturns the title of the live video.
descriptionstringReturns the description of the live video.
thumbnailstringReturns the URL for the live video's thumbnail.
playbackUrlstringReturns a file URL where the livestream can be accessed for playback.
channelPublicIdstringReturns the public identifier of the channel.
channelNamestringReturns the name of the channel.
channelTitlestringReturns the title of the channel.
channelLogostringReturns the URL of the channel's logo.
typestringReturns ingestion type of RTMP (Real Time Messaging Protocol).
latencyTypestringReturns the type of latency chosen during the creation of the channel.
liveStatusstringIndicates the live status of the live video.
canGoLiveboolIndicates if the video is ready to go live.
isLiveStreamingboolIndicates if the video is currently live streaming.
canStopAndCutboolReturns a value indicating if the video can be stopped and cut.
publishDatestring($date-time)Returns the date and time when the video will become accessible.
publishEndDatestring($date-time)Indicates the end date and time when the video will no longer be accessible.
geoBlockingRuleIdinteger($int32)Returns the identifier for the geo-blocking rule.
authorstringReturns the author of the live video.
activeChannelIdstringReturns the unique identifier of the active channel.
tagsarray[]Returns an array of tags.
hasGeoRestrictionbooleanIndicates whether geo-restriction is applied to the video.
geoRestrictionLinkstringReturns the link for geo-restricted access to the video.
resultInfostringReturns extra information about the result.
statusCodeinteger($int32)Returns the HTTP Status Code.

If the action is successful, the service sends back an HTTP 200 or 201 response.

Errors

For information about the errors that are common to all actions, see Common Errors:

  • HTTP Status Code 400: Bad Request

  • HTTP Status Code 401: Unauthorized

  • HTTP Status Code 403: Forbidden

  • HTTP Status Code 404: Result Not Found

  • HTTP Status Code 500: Internal Server Error

  • HTTP Status Code 503: Backend Fetch Failed